ScanFix Xpress v9.0 for .NET - Updated
FilterCustomOptions Constructor(Int32[,],Int32,Int32,Int32,Int32)




Accusoft.ScanFixXpressSdk Namespace > FilterCustomOptions Class > FilterCustomOptions Constructor : FilterCustomOptions Constructor(Int32[,],Int32,Int32,Int32,Int32)
Filter weights matrix [height, width]
Horizontal value for center point of the filter. -1 for center of defined size.
Vertical value for center point of the filter. -1 for center of defined size.
Value for divisor used by custom filter.
Value for offset added to output of the convolution.
Instantiates a new FilterCustomOptions object with the specified values.
Syntax
'Declaration
 
Public Function New( _
   ByVal weights(,) As Integer, _
   ByVal centerX As Integer, _
   ByVal centerY As Integer, _
   ByVal divisor As Integer, _
   ByVal offset As Integer _
)
'Usage
 
Dim weights() As Integer
Dim centerX As Integer
Dim centerY As Integer
Dim divisor As Integer
Dim offset As Integer
 
Dim instance As New FilterCustomOptions(weights, centerX, centerY, divisor, offset)
public FilterCustomOptions( 
   int[,] weights,
   int centerX,
   int centerY,
   int divisor,
   int offset
)
public: FilterCustomOptions( 
   int[,]* weights,
   int centerX,
   int centerY,
   int divisor,
   int offset
)
public:
FilterCustomOptions( 
   array<int>^ weights,
   int centerX,
   int centerY,
   int divisor,
   int offset
)

Parameters

weights
Filter weights matrix [height, width]
centerX
Horizontal value for center point of the filter. -1 for center of defined size.
centerY
Vertical value for center point of the filter. -1 for center of defined size.
divisor
Value for divisor used by custom filter.
offset
Value for offset added to output of the convolution.
See Also

Reference

FilterCustomOptions Class
FilterCustomOptions Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.